package com.nbst.model.mes;

import java.util.Date;

import com.nbst.model.base.OrderBy;

public class SubcOutEntry extends OrderBy {
	/**
	 * 行号
	 */
    private Integer fIndex;

    /**
     * 工序号
     */
    private Integer fOperSN;

    /**
     * 工序名称内码
     */
    private Integer fOperID;

    /**
     * 是否首工序
     */
    private Integer fIsFirstOp;

    /**
     * 产品代码
     */
    private Integer fItemID;

    /**
     * 产品代码
     */
    private String fNumber;

    /**
     * 产品名称
     */
    private String fName;

    /**
     * 单位
     */
    private Integer fUnitID;

    /**
     * 转出数量
     */
    private Double fTranOutQty;

    /**
     * 实际转出日期
     */
    private Date fFactTranOutDate;
    /**
     * 交货日期
     */
    private Date fFetchDate;

    /**
     * 批号
     */
    private String fBatchNo;

    /**
     * 生产任务单内码
     */
    private Integer fIcomEntryId;

    /**
     * 生产任务单号
     */
    private String fIcomBillNo;
    /**
     * 删除标志 0删除
     */
    private Integer fClosed;
    /**
     * 工序委外转出单id
     */
    private Integer fInterID;
    /**
     * 工序委外转出单分录id
     */
    private Integer fEntryID;
    
    /**转入数量*/
    private Double fSubcInQty;
    
    /**剩余待转入数量*/
    private Double fSurQty;
    
    /**流转卡id*/
    private Integer fCardId;
    
    /**仓库发料状态  0未发料 1部分发料  2全部发放完成*/
    private Integer fOutStockStatus;
    
    /**仓库发料数量 */
    private Double fOutStockQty;
    
    /**
     * 委外单号
     */
    private String fBillNo;
    
    /**
     * 质检状态
     */
    private Integer fState;
    
    /**
     * 当前委外单下一步动作  0领料 1接收质检 2接收入库审核  3结束
     */
    private Integer fNextStep;
   
	public Integer getfInterID() {
        return fInterID;
    }

    public void setfInterID(Integer fInterID) {
        this.fInterID = fInterID;
    }

    public Integer getfEntryID() {
        return fEntryID;
    }

    public void setfEntryID(Integer fEntryID) {
        this.fEntryID = fEntryID;
    }

    public Integer getfIndex() {
        return fIndex;
    }

    public void setfIndex(Integer fIndex) {
        this.fIndex = fIndex;
    }

    public Integer getfOperSN() {
        return fOperSN;
    }

    public void setfOperSN(Integer fOperSN) {
        this.fOperSN = fOperSN;
    }

    public Integer getfOperID() {
        return fOperID;
    }

    public void setfOperID(Integer fOperID) {
        this.fOperID = fOperID;
    }

    public Integer getfIsFirstOp() {
        return fIsFirstOp;
    }

    public void setfIsFirstOp(Integer fIsFirstOp) {
        this.fIsFirstOp = fIsFirstOp;
    }

    public Integer getfItemID() {
        return fItemID;
    }

    public void setfItemID(Integer fItemID) {
        this.fItemID = fItemID;
    }

    public String getfNumber() {
        return fNumber;
    }

    public void setfNumber(String fNumber) {
        this.fNumber = fNumber == null ? null : fNumber.trim();
    }

    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName == null ? null : fName.trim();
    }

    public Integer getfUnitID() {
        return fUnitID;
    }

    public void setfUnitID(Integer fUnitID) {
        this.fUnitID = fUnitID;
    }

    public Double getfTranOutQty() {
        return fTranOutQty;
    }

    public void setfTranOutQty(Double fTranOutQty) {
        this.fTranOutQty = fTranOutQty;
    }

    public Date getfFactTranOutDate() {
        return fFactTranOutDate;
    }

    public void setfFactTranOutDate(Date fFactTranOutDate) {
        this.fFactTranOutDate = fFactTranOutDate;
    }

    public Date getfFetchDate() {
        return fFetchDate;
    }

    public void setfFetchDate(Date fFetchDate) {
        this.fFetchDate = fFetchDate;
    }

    public String getfBatchNo() {
        return fBatchNo;
    }

    public void setfBatchNo(String fBatchNo) {
        this.fBatchNo = fBatchNo == null ? null : fBatchNo.trim();
    }

    public Integer getfIcomEntryId() {
        return fIcomEntryId;
    }

    public void setfIcomEntryId(Integer fIcomEntryId) {
        this.fIcomEntryId = fIcomEntryId;
    }

    public String getfIcomBillNo() {
        return fIcomBillNo;
    }

    public void setfIcomBillNo(String fIcomBillNo) {
        this.fIcomBillNo = fIcomBillNo == null ? null : fIcomBillNo.trim();
    }

    public Integer getfClosed() {
        return fClosed;
    }

    public void setfClosed(Integer fClosed) {
        this.fClosed = fClosed;
    }

	public Double getfSubcInQty() {
		return fSubcInQty;
	}

	public void setfSubcInQty(Double fSubcInQty) {
		this.fSubcInQty = fSubcInQty;
	}

	public Double getfSurQty() {
		return fSurQty;
	}

	public void setfSurQty(Double fSurQty) {
		this.fSurQty = fSurQty;
	}

	public Integer getfCardId() {
		return fCardId;
	}

	public void setfCardId(Integer fCardId) {
		this.fCardId = fCardId;
	}

	public Integer getfOutStockStatus() {
		return fOutStockStatus;
	}

	public void setfOutStockStatus(Integer fOutStockStatus) {
		this.fOutStockStatus = fOutStockStatus;
	}

	public Double getfOutStockQty() {
		return fOutStockQty;
	}

	public void setfOutStockQty(Double fOutStockQty) {
		this.fOutStockQty = fOutStockQty;
	}

	public String getfBillNo() {
		return fBillNo;
	}

	public void setfBillNo(String fBillNo) {
		this.fBillNo = fBillNo;
	}

	public Integer getfState() {
		return fState;
	}

	public void setfState(Integer fState) {
		this.fState = fState;
	}

	public Integer getfNextStep() {
		return fNextStep;
	}

	public void setfNextStep(Integer fNextStep) {
		this.fNextStep = fNextStep;
	}

	@Override
	public String toString() {
		return "SubcOutEntry [fIndex=" + fIndex + ", fOperSN=" + fOperSN + ", fOperID=" + fOperID + ", fIsFirstOp="
				+ fIsFirstOp + ", fItemID=" + fItemID + ", fNumber=" + fNumber + ", fName=" + fName + ", fUnitID="
				+ fUnitID + ", fTranOutQty=" + fTranOutQty + ", fFactTranOutDate=" + fFactTranOutDate + ", fFetchDate="
				+ fFetchDate + ", fBatchNo=" + fBatchNo + ", fIcomEntryId=" + fIcomEntryId + ", fIcomBillNo="
				+ fIcomBillNo + ", fClosed=" + fClosed + ", fInterID=" + fInterID + ", fEntryID=" + fEntryID
				+ ", fSubcInQty=" + fSubcInQty + ", fSurQty=" + fSurQty + ", fCardId=" + fCardId + ", fOutStockStatus="
				+ fOutStockStatus + ", fOutStockQty=" + fOutStockQty + ", fBillNo=" + fBillNo + ", fState=" + fState
				+ ", fNextStep=" + fNextStep + "]";
	}
}